/**
 * @serialNumber 排序,必填
 * @show 是否显示路由
 * @roles 角色权限设置
 */
import { READONLYROUTERDOM } from '../base/routerDom';
/**
 * 首页路由
 */
const routerDom: READONLYROUTERDOM = {
  path: '/qualityAssurance',
  name: 'qualityAssurance',
  meta: {
    title: '质量管理',
    show: false,
    icon: 'icon-tool',
    serialNumber: 10,
    mapKey: 2,
  },
  component: () => import('@views/masterPage/templatePage/templatePage.vue'),
  children: [
    {
      path: '/ferryFlightInspect',
      name: 'ferryFlightInspect',
      meta: {
        title: '调机首检',
        show: true,
        icon: 'icon-tool',
        serialNumber: 1,
      },
      component: () => import('@views/qualityAssurance/ferryFlightInspect/ferryFlightInspect.vue'),
    },
    {
        path: '/firstInspection',
        name: 'firstInspection',
        meta: {
          title: '首检',
          show: true,
          icon: 'icon-tool',
          serialNumber: 1,
        },
        component: () => import('@views/qualityAssurance/firstInspection/firstInspection.vue'),
    },
    {
        path: '/incomingInspection',
        name: 'incomingInspection',
        meta: {
          title: '来料检验',
          show: true,
          icon: 'icon-tool',
          serialNumber: 1,
        },
        component: () => import('@views/qualityAssurance/incomingInspection/incomingInspection.vue'),
    },
    {
        path: '/processInspection',
        name: 'processInspection',
        meta: {
          title: '过程检验',
          show: true,
          icon: 'icon-tool',
          serialNumber: 1,
        },
        component: () => import('@views/qualityAssurance/processInspection/processInspection.vue'),
    },
    {
        path: '/finishedProductInspection',
        name: 'finishedProductInspection',
        meta: {
          title: '成品检验',
          show: true,
          icon: 'icon-tool',
          serialNumber: 1,
        },
        component: () => import('@views/qualityAssurance/finishedProductInspection/finishedProductInspection.vue'),
    },
    {
        path: '/inspectionDetailsList',
        name: 'inspectionDetailsList',
        meta: {
          title: '检验详情列表',
          show: true,
          icon: 'icon-tool',
          serialNumber: 1,
        },
        component: () => import('@views/qualityAssurance/inspectionDetailsList/inspectionDetailsList.vue'),
    },
    {
      path: '/inspectionPolicy',
      name: 'inspectionPolicy',
      meta: {
        title: '检验详情',
        show: false,
        icon: 'icon-import',
        serialNumber: 1,
      },
      component: () => import('@views/qualityAssurance/inspectionPolicy/inspectionPolicy.vue'),
    },
    {
      path: '/inspectionPolicyDetails',
      name: 'inspectionPolicyDetails',
      meta: {
        title: '检验详情页面',
        show: false,
        icon: 'icon-import',
        serialNumber: 1,
      },
      component: () => import('@views/qualityAssurance/inspectionPolicyDetails/inspectionPolicyDetails.vue'),
    },
    {
      path: '/productInspectionList',
      name: 'productInspectionList',
      meta: {
        title: '查询品号检验',
        show: true,
        icon: 'icon-tool',
        serialNumber: 1,
      },
      component: () => import('@views/qualityAssurance/productInspectionList/productInspectionList.vue'),
    },
    {
      path: '/productInspection',
      name: 'productInspection',
      meta: {
        title: '品号检验录入',
        show: false,
        icon: 'icon-tool',
        serialNumber: 1,
      },
      component: () => import('@views/qualityAssurance/productInspection/productInspection.vue'),
    }
  ],
};
export default routerDom;
